package com.xxxy.client;

import com.xxxy.commonResult.CommonResult;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author sjh
 * @date 2022/4/4 17:58
 */
@FeignClient(name = "QUARTZ-SERVICE")
public interface QuartzClient {

    @PutMapping("/examQuartz/addQuartz")
    @ApiOperation(value = "增加定时任务")
    public CommonResult<Boolean> addQuartz(@ApiParam("试卷id") @RequestParam Integer examId);
}
